pub struct Net {
    user: String,
    pass: String,
}

impl Net {
    pub fn new(user: String, pass: String) -> Self {
        Net {
            user: user,
            pass: pass,
        }
    }

    pub fn get_info(self) -> String {
        return format!("user={},pass={}", self.user, self.pass);
    }
}
